package com.untrance.shop.model;

import javax.persistence.Basic;
import javax.persistence.Entity;

import com.google.appengine.api.datastore.Blob;
import com.google.appengine.api.datastore.Key;

/**
 * @author eugene zadyra
 */
@Entity
public class Image extends MainEntity{
	
	@Basic
	private String name;
	@Basic
	private Blob image;
	
	public Image() {
		
	}
	
    public Image(String name, Blob image) {
        this.name = name; 
        this.image = image;
    }

    public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Blob getImage() {
		return image;
	}
	public void setImage(Blob image) {
		this.image = image;
	}
}
